]> dgit.raspbian.org Git - gnome-shell.git/commit
ibusManager: Avoid reusing a renewed cancellable across async calls
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Thu, 23 Jul 2026 10:02:04 +0000 (12:02 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Sun, 2 Aug 2026 16:50:53 +0000 (18:50 +0200)
commit4dd32e2c0231d827f203e1407fa48070554d43f5
tree3dc718f6f472c6483e07f2b55faed7045c52de95
parent90a63294012a57ebd82c11d507cf4cb62d783117
ibusManager: Avoid reusing a renewed cancellable across async calls

When the shared cancellable gets renewed, in-flight async requests can end up
using the wrong instance.
Pass a stable cancellable per operation so each request stays bound to the
cancellable it started with.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4296>
(cherry picked from commit ecbfbcb78e25b342687623c52e17c413a4263315)
js/misc/ibusManager.js